package cn.zynworld.hnister.chats.dto;

import cn.zynworld.hnister.chats.enums.ChatMessageTypeEnum;

/**
 * @auther Buynow Zhao
 * @create 2018/5/6
 */
public class ChatMessageDTO {
	private String username;
	private Long sendTime;
	private String content;
	private String collegeName;
	private String zlassName;
	private Integer type;

	public String getContent() {
		return content;
	}

	public ChatMessageDTO setContent(String content) {
		this.content = content;
		return this;
	}

	public String getCollegeName() {
		return collegeName;
	}

	public ChatMessageDTO setCollegeName(String collegeName) {
		this.collegeName = collegeName;
		return this;
	}

	public String getZlassName() {
		return zlassName;
	}

	public ChatMessageDTO setZlassName(String zlassName) {
		this.zlassName = zlassName;
		return this;
	}

	public String getUsername() {
		return username;
	}

	public ChatMessageDTO setUsername(String username) {
		this.username = username;
		return this;
	}

	public Long getSendTime() {
		return sendTime;
	}

	public ChatMessageDTO setSendTime(Long sendTime) {
		this.sendTime = sendTime;
		return this;
	}

	public Integer getType() {
		return type;
	}

	/**
	 *
	 * @param type {@link ChatMessageTypeEnum#getCode()}
	 */
	public ChatMessageDTO setType(Integer type) {
		this.type = type;
		return this;
	}
}
